const {exec} =require('node:child_process')
exec('pngquant 1.png --quality=60-82 --output test.png',(err,stdout,stderr)=>{
    if(err){
        console.log(err)
        return
    }
    console.log(stdout)
})